package com.joysuch.wwyt.mh.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Leong
 * @date 2022/9/21 15:13
 */
@Data
@ApiModel(value = "报警触发配置")
public class MhAlarmLimitConfigBean implements Serializable {

    @ApiModelProperty("id")
    @NotNull
    private Long id;

    @ApiModelProperty("周期频次")
    @NotNull(field = "周期频次")
    private Integer checkRateDescribe;

    @ApiModelProperty("周期单位: 分钟; 小时；天；月")
    @NotNull(field = "周期单位")
    private String periodUnit;

    @ApiModelProperty("超限次数")
    @NotNull(field = "超限次数")
    private Integer exceedTimes;

}
